<?php

use Faker\Generator as Faker;

$factory->define(App\Cat::class, function (Faker $faker) {
    return [
        'catname' => $faker->name,
        'type' => rand(0,4),
        'level' => rand(0,4),
        'father_id' => rand(1,6),
        'is_show' => rand(0,1),
    ];
});
